package cn.itsource.user.service.impl;

import cn.itsource.basic.base.service.impl.BaseServiceImpl;
import cn.itsource.user.domain.User;
import cn.itsource.user.mapper.UserMapper;
import cn.itsource.user.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements IUserService{
    @Autowired
    private UserMapper userMapper;

    @Override
    public User checkPhone(String phone) {
        return userMapper.selectPhone(phone);
    }
}
